package com.sumainfor.pc.dev.feign.Zfeign;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.dev.fallback.Zfallback.ZwxTenantFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 调用微信租客端服务
 */
@FeignClient(name = "tANGNEST-WX-TENANt", fallback = ZwxTenantFallback.class)
public interface ZwxTenantFeign {
    @PostMapping("/key/tctenTenantEva/getTenantTenPhone")
    JsonResult getTenantTenPhone (@RequestBody Map<String,Object> params);

    @PostMapping("/key/tctenSysmsg/insertSysmsg")
    JsonResult insertSysmsg(@RequestBody Map<String,Object> params);

    @GetMapping("/key/tctenTenantDev/getAllTenId")
    JsonResult getAllTenId();

}
